package cn.itcast.bos.service.take_delivery;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.itcast.bos.domain.take_delivery.WayBill;

public interface WayBillService {

	void saveWayBill(WayBill wayBill);

	Page<WayBill> findByPage(WayBill wayBill,Pageable pages);

	WayBill findByWayBillNum(String wayBillNum);
	
	//修复漏洞，定时跟新数据库和索引库的运单信息
	public void updateIndex();

	//导出查询的运单信息
	List<WayBill> exportFile(WayBill wayBill);

}
